package com.wangyb.wework.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * @Author: wangyb
 * @Date: 2021/8/6 10:27 上午
 */
public enum TrackEventEnum {
	CONTACT_ADD(101,"添加客户"), //成员添加客户
	CONTACT_ADD_REPEAT(1011,"再次添加客户"), //再次添加客户
	CONTACT_ADD_SKIP_VERIFY(102,"免验证添加客户"), //客户通过免验证方式添加成员
	CONTACT_DEL_BY_CONTACT(103,"被客户删除"), //被客户删除
	CONTACT_DEL_BY_EMPLOYEE(1031,"删除客户"), //删除客户
	CONTACT_DEL_All(1031,"与所有成员都不是好友"), //与所有成员都不是好友
	CONTACT_EDIT(104,"编辑客户"), //修改备注等
	CONTACT_EDIT_MOBILE(1041,"修改手机号码"), //修改手机号
	CONTACT_EDIT_DESC(1042,"修改描述"), //修改描述
	CONTACT_EDIT_CORP_NAME(1043,"修改公司名称"), //修改公司名称
	CONTACT_EDIT_REMARK(1044,"修改备注"), //修改备注
	CONTACT_ADD_TAG(1047,"添加标签"), //添加标签
	CONTACT_DEL_TAG(1048,"删除标签"), //删除标签
	CONTACT_PROFILE_EDIT(105,"修改客户画像"), //修改客户画像
	CONTACT_LOSS(109,"客户流失"), //被客户删除

	CONTACT_TRANSFER(111,"转交客户"),//客户被转交给新成员
	CONTACT_TRANSFER_FAILURE(112,"转交客户失败"),

	GROUP_MSG_SEND(121,"群发消息"),
	WELCOME_MSG_SEND(122,"发送欢迎语"),

	CHAT(130,"发起聊天"),

	GROUPCHAT_JOIN(141,"加入群聊"),
	GROUPCHAT_QUIT(142,"退出群聊"),
	GROUPCHAT_NICKNAME_EDIT(142,"修改群昵称"),

	RADAR_FILE(151,"打开文件"),
	RADAR_LINK(152,"打开链接"),

	BUY(201,"购买商品"),

	REDPACK(202,"发放红包"),
	PAY_BILL(203,"收款"),

	LIVING_WATCH(204,"观看直播"),

	;

	@EnumValue
	private int value;
	@Getter
	private String label;
	TrackEventEnum(int value, String label){
		this.value = value;
		this.label = label;
	}

}
